﻿using Acme.BookStore.PurchaseDto.CustomergoodsDto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace Acme.BookStore.PurchaseDto.OtherwarehousingDto
{
    public interface IOtherwarehousingServices:ICrudAppService
        <OtherwarehousingDto, Guid, PagedResultRequestDto, CreateUpdateOtherwarehousingDto>
    {
        Task<ListResultDto<OrderTypeModelDto>> GetOrderTypeModelAsync();
        public class OrderTypeModelDto
        {
            public int Id { get; set; }
            public string Name { get; set; }
        }

        Task<ListResultDto<ReservedWarehouseAreaModelDto>> GetReservedWarehouseAreaModelAsync();
        public class ReservedWarehouseAreaModelDto
        {
            public int Id { get; set; }
            public string Name { get; set; }
        }

        Task<ListResultDto<WarehouseModelDto>> GetWarehouseModelAsync();
        public class WarehouseModelDto
        {
            public int Id { get; set; }
            public string Name { get; set; }
        }


        Task<ListResultDto<PlatformDto>> GetPlatformDtoModelAsync();
        public class PlatformDto
        {
            public int Id { get; set; }
            public string Name { get; set; }
        }

        /// <summary>
        /// 根据条件查询其他入库单
        /// </summary>
        Task<PagedResultDto<OtherwarehousingDto>> GetListByConditionsAsync(OtherwarehousingQueryDto input);
    }
}
